ComponentOne Basic Library for WPF and Silverlight
ToList<T>() Method


C1.WPF Namespace > C1HierarchicalPresenter Class : ToList<T>() Method
The type of the container, e.g. C1TreeViewItem
Creates a list with all the item containers present in the Hierarchical Presenter at the moment of invocation.
Syntax
'Declaration
 
Public Function ToList(Of T As C1HierarchicalPresenter)() As System.Collections.Generic.IList(Of T)
'Usage
 
Dim instance As C1HierarchicalPresenter
Dim value As System.Collections.Generic.IList(Of T)
 
value = instance.ToList(Of T)()
public System.Collections.Generic.IList<T> ToList<T>()
where T: C1HierarchicalPresenter

Type Parameters

T
The type of the container, e.g. C1TreeViewItem

Return Value

The list of item containers.
See Also

Reference

C1HierarchicalPresenter Class
C1HierarchicalPresenter Members